PSC Module: Customised Dialog Boxes (Last Modified: 30/08/2012) This file lists instructions for creating customised dialog boxes and their associated buttons and parameter lists. These dialog boxes will pop-up in the middle of the screen when the associated customised buttons are clicked. INSTRUCTIONS Customising commands are entered at the end of this file following the line "**** Enter Dialog Box Details Here ****". They must conform to the following rules: (1) NEW DIALOG BOX: This statement must precede each new block of dialog box commands. It signifies to the system that the statements defining the dialog box and its associated button follow. Multiple dialog boxes can be associated with any one tab, subject only to space being available for their associated buttons along the bottom line of the tab. (2) Tab Number Associated with New Dialog Boxes Each tab in the PSC module has an associated number viz: 0 = Example only (button & dialog box will NOT be displayed) 1 = Job ID tab 2 = Section properties tab 3 = PS Estimates tab 4 = PS Losses tab 5 = Service Check tab 6 = Ult MOment Check tab 7 = Shear Design tab 8 = Torsion Design tab 9 = Deformations Zero signifies that the block is only an example and is to be ignored (nothing will be generated). (3) Label to Display on the Customised Button This label will appear on the button associated with the customised dialog box. It can only have a maximum of 44 alpha-numeric characters. The button will appear in the bottom right-hand corner of the tab. Up to 2 dialog boxes and their associated buttons can be defined for any tab, subject only to space being available to fit the buttons on the bottom line of the tab. (4) Dialog Box Header This label will be shown in the top header line of the dialog box. It can only have a maximum of 44 alpha-numeric characters. (5) Parameter List List all parameters that you would like displayed in the dialog box (up to a maximum of 20) together with a flag indicating if it's a user specified value [U] or a calculated value [C]. The flag must be separated from the parameter name by a comma. Parameter names are case-sensitive. Parameters must first be defined in the Parameter List associated with your customised PSC design. By the same token, any parameter already defined in the list can be used and specified in these dialog boxes. Undefined parameters will be shown as "undefined" The SPACE statement will leave a blank line between adjacent parameters. (A blank line will automatically be inserted between the header bar and the first parameter in the list). LINE will insert a straight line separator between parameters. (6) OK and Cancel buttons These two buttons will be automatically located at the bottom of the customised dialog box. OK will exit the dialog box and Cancel will discard any changes. There is a message line before the OK/Cancel line informing users to click on exit from the customised dialog. (7) END DIALOG BOX: This signifies the end of the dialog box currently being defined. EXAMPLE The statements shown below serve as an example of how the dialog box customising feature works. Feel free to replace the text to the RIGHT of the colons with your own data and the 'param' statements with your own parameters. Add new dialog boxes, parameters, lines and spaces as required. New dialog boxes with a 0 tab number will be ignored. *************** Enter Dialog Box Details Here ********************* NEW DIALOG BOX Tab number associated with dialog: 0 Custom button number (1 or 2) : 1 Label to display on button (max 24): Example custom button Dialog box header (max 45 chars): Example custom dialog box Wtf, [U] LINE SPACE Xtest, [C] END DIALOG BOX ----------------------------------------------------------------------- NEW DIALOG BOX Tab number associated with dialog: 0 Custom button number (1 or 2) : 2 Label to display on button (max 24): Example custom button Dialog box header (max 45 chars): Example custom dialog box Xparam, [U] LINE SPACE Xtest, [C] END DIALOG BOX -----------------------------------------------------------------------